package com.wn.purchaeReturn.dao;

import com.wn.purchaeReturn.entity.PurPurchasereturn;
import com.wn.purchaeReturn.entity.PurPurchasereturnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

public interface PurPurchasereturnDao {
    long countByExample(PurPurchasereturnExample example);

    int deleteByExample(PurPurchasereturnExample example);

    int deleteByPrimaryKey(Integer purchasertnno);

    int insert(PurPurchasereturn record);

    int insertSelective(PurPurchasereturn record);

    List<PurPurchasereturn> selectByExample(PurPurchasereturnExample example);

    PurPurchasereturn selectByPrimaryKey(Integer purchasertnno);

    int updateByExampleSelective(@Param("record") PurPurchasereturn record, @Param("example") PurPurchasereturnExample example);

    int updateByExample(@Param("record") PurPurchasereturn record, @Param("example") PurPurchasereturnExample example);

    int updateByPrimaryKeySelective(PurPurchasereturn record);

    int updateByPrimaryKey(PurPurchasereturn record);

}